package com.atguigu.gulimall.product.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;




@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    //核心线程的大小
    private Integer coreSize;
    //最大的线程大小
    private Integer maxSize;
    //休眠的时长
    private Integer keepAliveTime;

}
